<html>
<body>
  <canvas id="canvas"></canvas>
</body>

<script type="text/javascript" src="jsmpeg.min.js"></script>
<script type="text/javascript">
    var port = window.location.search.split('?')[1].split('=')[1]
    player = new JSMpeg.Player('ws://47.97.111.86:' + port, {
      canvas: document.getElementById('canvas') // Canvas should be a canvas DOM element
    })
</script>
<style>
  *{
    border: 0;
    margin: 0;
  }
  #canvas{
    width: 731px;
    height: 395px;
  }
</style>
</html>
